package com.csp;

import com.csp.util.MapperProxyUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.HashMap;

/**
 * 测试
 *
 * @author:chengsp
 * @createTime:2019/8/22 10:36
 */
public class Test {
    private final static Logger logger = LoggerFactory.getLogger(Test.class);

    public static void main(String[] args) {
        TestInterface testInterface = MapperProxyUtil.proxy(TestInterface.class);
        HashMap<String, Object> map = new HashMap<>();
        map.put("count", 85987);

        logger.info("执行结果:{}", (testInterface.selectIds(map)));
        map.put("id", 85003);
        logger.info("执行结果:{}", testInterface.updateById(map));
        logger.info("执行结果:{}", testInterface.selectAll(map));
    }
}
